package com.example.demo.entity.DTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class PetDTO {

    @NotNull
    @ApiModelProperty("宠物ID")
    private Integer petId;

    @ApiModelProperty("宠物名称")
    private String petName;

    @ApiModelProperty("宠物性别 0 母 1 公")
    private int petSex;

    @ApiModelProperty("宠物年龄")
    private Integer petAge;

    @ApiModelProperty("宠物照片")
    private String petImg;

    @ApiModelProperty("宠物简介")
    private String petInfo;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("用户昵称")
    private String nickname;
}
